<!DOCTYPE html>
<html>
<head>
<g:if test="${session.userEmail != null && session.userEmail != ""}">
	<meta name="layout" content="manage" />
</g:if>
<g:else>
	<meta name="layout" content="main" />
</g:else>
<title>Home Page</title>
</head>
<body>
	<div style="height: 100%; text-align: center; background-color: #666666;">
		<g:if test="${session.userEmail != null && session.userEmail != ""}">
			<div class="col-md-8 col-md-offset-2 col-xs-12" style="height: 60%; margin-top:150px; background-color: white; border-radius: 15px;">
		</g:if>
		<g:else>
			<div class="col-md-8 col-md-offset-2 col-xs-12" style="height: 60%; margin-top:100px; background-color: white; border-radius: 15px;">
		</g:else>
			<div><h2><b>${fileName}</b></h2></div>
			<div style="padding-top: 2%;"><asset:image src="icons/file-icon.png" style="z-index:1000; width: 150px; height: 150px;"/></div>
			<div style="padding-top: 5%">
				<a href="/download/f/${fileUrl}" class="btn btn-primary" style="width: 100px;">Download</a>
			</div>
		</div>
	</div>
	<asset:javascript src="js/manage/downloadFile.js"/>
</body>
</html>